home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
gmplaygui
/
gui
/
gp
< prev
next >
Wrap
AmigaDOS Script File
|
1997-06-14
|
1KB
|
67 lines
.key fil
.bra {
.ket }
setenv gm "{fil}"
setenv fb "$gm"
list >env:short "$gm" lformat "%n"
list >env:gmtt "$gm" lformat %c
if "$gmtt" NOT EQ ""
setenv shortinfo "($gmtt)"
else
setenv shortinfo "Playing at $freq Hz in $gmst"
endif
unsetenv gmtt
if NOT $gmch EQ 0
setenv gmch 0
else
setenv gmpl `eval $gmplb+1`
setenv gmplb $gmpl
setenv gmdisp "$gmpl ($gmant)"
endif
setenv gmm `eval $gmm+1`
setenv gmopts gmplay $gmopt $gmst $gmdf $gmtf frequency $freq priority $gmpri
gmd:gmplay >nil: "$gm"
if WARN
setenv gmch $gmpl
setenv fb "Felmekansimen Urban"
gmd:gmplay >nil: "$gm"
why >env:gmfel
copy >nil: fel.sel t:
/selectortext env:gmopts >>t:fel.sel 50
echo >>t:fel.sel color dark
/selectortext env:gmfel >>t:fel.sel 50
unsetenv gmfel
type fel2.sel >>t:fel.sel
selector t:fel.sel
delete >nil: t:fel.sel
endif
if exists env:gmpause
unsetenv gmpause
setenv short Paused
setenv gmii ";"
setenv gmm `eval $gmm+1`
selector pause.sel
setenv gmii ""
setenv fb "pause ended"
setenv gmch $gmpl
endif
if not exists env:gm
quit
endif
if not "$gm" EQ "$fb"
execute gp "$gm"
endif